OCAMLMAKEFILE = ../OCamlMakefile

SOURCES = Configutil.ml parser.mly lexer.mll \
	  Configfile.mli Configfile.ml \
	  test.ml
RESULT  = testini


# byte-code
# native-code
# debug-code
# profiling-byte-code
# profiling-native-code
#all: byte-code
all: debug-code

.DELETE_ON_ERROR: test-output.ini

test: all test/test-input.ini test/test-exp.ini
	./testini test/test-input.ini test-output.ini
	diff -u test/test-exp.ini test-output.ini
	rm -f test-output.ini

include $(OCAMLMAKEFILE)
